﻿<%@ Page Language="C#" AutoEventWireup="True" Codebehind="UserRoles.aspx.cs" Inherits="ControlPanel_Member_UserRoles"
    StylesheetTheme="MainStyle" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>用户组</title>
    <link id="Link1" href="../styles/default.css" runat="server" type="text/css" rel="stylesheet" />

    <script type="text/javascript" language="javascript">
    // <!CDATA[      
    // ]]>
    </script>

</head>
<body style="margin: 0px; width: 780px; overflow: hidden">
    <form id="form1" runat="server">
        <asp:ScriptManager ID="MasterScriptManager" runat="Server" EnableScriptLocalization="true"
            EnableScriptGlobalization="false" EnablePartialRendering="true" ScriptMode="Auto">
        </asp:ScriptManager>
        <div style="text-align: center">
            <br />
            <h3 style="text-align: center">
                用户：[<asp:Label ID="lbl_UserName" runat="server"></asp:Label>]的角色管理
            </h3>
            <br />
            <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                <ContentTemplate>
                    <table>
                        <tr>
                            <td style="width: 100px">
                                已有角色</td>
                            <td style="width: 25px">
                            </td>
                            <td style="width: 100px">
                                未选角色</td>
                        </tr>
                        <tr>
                            <td style="width: 100px">
                                <asp:ListBox ID="lst_UserRole" runat="server" Height="250px" Width="150px" SelectionMode="Multiple">
                                </asp:ListBox></td>
                            <td style="width: 25px">
                                <asp:Button ID="btn_UnSelectAll" runat="server" Text=">>" Width="40" OnClick="btn_UnSelectAll_Click" />
                                <asp:Button ID="btn_UnSelect" runat="server" Text=">" Width="40" OnClick="btn_UnSelect_Click" />
                                <asp:Button ID="btn_Select" runat="server" Text="<" Width="40" OnClick="btn_Select_Click" />
                                <asp:Button ID="btn_SelectAll" runat="server" Text="<<" Width="40" OnClick="btn_SelectAll_Click" />
                            </td>
                            <td style="width: 100px">
                                <asp:ListBox ID="lst_RestRole" runat="server" Height="250px" Width="150px" SelectionMode="Multiple">
                                </asp:ListBox></td>
                        </tr>
                        <tr>
                            <td colspan="3">
                                <input id="btn_ShowSuccess" type="button" style="display: none" runat="server" value="保存" />
                                <asp:Button ID="btn_Save" runat="server" Text="保存" OnClick="btn_Save_Click" />
                                <input id="btn_Refresh" type="button" value="重置" onclick="location.href=location.href" />
                                &nbsp;&nbsp;
                                <asp:Button ID="btn_Return" runat="server" Text="返回" OnClick="btn_Return_Click" />
                            </td>
                        </tr>
                    </table>
                    <toolkit:ConfirmButtonExtender runat="server" ID="ConfirmButtonExtenderaaa" TargetControlID="btn_Save"
                        ConfirmText="确认更新用户角色？">
                    </toolkit:ConfirmButtonExtender>
                </ContentTemplate>
            </asp:UpdatePanel>
            <br />
        </div>
    </form>
</body>
</html>
